﻿using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;

namespace P2P.Client.UI.Features.Message
{
    public partial class UserInfoViewModel : ObservableObject
    {
        [ObservableProperty]
        [property: Category("Text"), DisplayName("用户名")]
        private string? _userName = null;

        [ObservableProperty]
        [property: Category("Text"), DisplayName("用户哈希")]
        private string? _userHash = null;

        [ObservableProperty]
        [property: Category("Text"), DisplayName("客户端版本")]
        private string? _clientVersion = null;

        [ObservableProperty]
        [property: Category("Text"), DisplayName("身份验证")]
        private string? _userAuth = null;

        [ObservableProperty]
        [property: Category("Numbers"), DisplayName("已上传")]
        private int? _uploaded = null;

        [ObservableProperty]
        [property: Category("Numbers"), DisplayName("已下载")]
        private int? _downloaded = null;
    }
}
